<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="c" uri="/WEB-INF/tld/c.tld"%>
<!DOCTYPE HTML>
<html>
<head>
    <title>功能管理</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
    <base href="<%=basePath%>">
    <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-responsive.css" />
    <link rel="stylesheet" type="text/css" href="bootstrap/css/style.css" />
     <style type="text/css">
        body {
            padding-bottom: 40px;
        }
        .sidebar-nav {
            padding: 9px 0;
        }

        @media (max-width: 980px) {
            /* Enable use of floated navbar text */
            .navbar-text.pull-right {
                float: none;
                padding-left: 5px;
                padding-right: 5px;
            }
        }
        .mouseover:hover{cursor:hand;color:#0000FF}
    </style>
   <script type="text/javascript" src="js/jquery.min.js"></script>
    
</head>
<body >
<form name = "syslogForm" id = "syslogForm" class="form-inline definewidth m20" 
  action="authority/addAuthority.do" method="post"
  enctype="multipart/form-data">
  <label id="resoult">${pageResult}</label><br/>
    <table class="table table-bordered table-hover definewidth m10">
	    <tr>
	   		<td width=20%>功能名称</td>
	        <td width=80%><input name="name" id="name" value = "" type="text" style="width:250px"/></td>
	    </tr>
<!-- 	    <tr> -->
<!-- 	   		<td>功能类型</td> -->
<!-- 	        <td><input name="type" id="type" value = "" type="text" style="width:250px"/></td> -->
<!-- 	    </tr> -->
	   	<tr>
	   		<td>URL</td>
	        <td><input name="url" id="url" value="" type="text" style="width:250px"/></td>
	    </tr>
	    <tr>
	   		<td>父功能id</td>
	        <td><input name="parentId" id="parentId" value = "" type="text" style="width:250px"/></td>
	    </tr>
	    <tr>
	    	<td>&nbsp;</td>
	    	<td>
	    		<input type="submit" class="btn btn-primary" value = "确定">&nbsp;
	    		<button type="button" class="btn" onclick="frameElement.api.close();">关闭</button>
	    	</td>
	    </tr>
    </table>
</form>
</body>
</html>